/**
 * @description:
 * 2022/3/23 15:00
 * @author: zsjin
 */

/**
 * 任务状态枚举
 */
enum TaskStatusEnum {
    INIT = 'INIT',
    WAITING = 'WAITING',
    RUNNING = 'RUNNING',
    SKIPPED = 'SKIPPED',
    FAILED = 'FAILED',
    SUCCEEDED = 'SUCCEEDED',
}

/**
 * 任务执行记录vo
 */
export interface ITaskExecutionRecordVo extends Readonly<{
    instanceId: string;
    nodeName: string;
    defKey: string;
    startTime: string;
    endTime?: string;
    status: TaskStatusEnum;
}> {
}